/*
 * Copyright TLR Team, Inc. All Rights Reserved.
 */
package com.tlr.device.model;

import com.tfb.rong.CustomJsonDateDeserializer;
import com.tfb.rong.CustomJsonDateSerializer;
import java.util.Date;
import org.codehaus.jackson.map.annotate.JsonDeserialize;
import org.codehaus.jackson.map.annotate.JsonSerialize;

public class HealthUser {

    private Long id;
    private String name;
    private String nickname;
    private String tel;
    private Integer sex;
    private Integer age;
    private Date dob;
    private Integer point;
    private Integer height;
    private Integer weight;
    private Integer blood_pressure_high;
    private Integer blood_pressure_low;
    private Float blood_suger;
    private Float temperature;
    private Integer sphygmus;
    private Integer heartbeat;
    private String address;
    private Integer type;
    private String deviceMac;
    private String owner;
    private Date lastModify;

    public HealthUser() {
    }

    public HealthUser(String name, String tel, String deviceMac) {
        this.name = name;
        this.tel = tel;
        this.deviceMac = deviceMac;
    }

    public Integer getPoint() {
        return point;
    }

    public void setPoint(Integer point) {
        this.point = point;
    }

    public Integer getBlood_pressure_high() {
        return blood_pressure_high;
    }

    public void setBlood_pressure_high(Integer blood_pressure_high) {
        this.blood_pressure_high = blood_pressure_high;
    }

    public Integer getBlood_pressure_low() {
        return blood_pressure_low;
    }

    public void setBlood_pressure_low(Integer blood_pressure_low) {
        this.blood_pressure_low = blood_pressure_low;
    }

    public Float getBlood_suger() {
        return blood_suger;
    }

    public void setBlood_suger(Float blood_suger) {
        this.blood_suger = blood_suger;
    }

    public Float getTemperature() {
        return temperature;
    }

    public void setTemperature(Float temperature) {
        this.temperature = temperature;
    }

    public Integer getSphygmus() {
        return sphygmus;
    }

    public void setSphygmus(Integer sphygmus) {
        this.sphygmus = sphygmus;
    }

    public Integer getHeartbeat() {
        return heartbeat;
    }

    public void setHeartbeat(Integer heartbeat) {
        this.heartbeat = heartbeat;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @JsonSerialize(using = CustomJsonDateSerializer.class)
    public Date getDob() {
        return dob;
    }

    @JsonDeserialize(using = CustomJsonDateDeserializer.class)
    public void setDob(Date dob) {
        this.dob = dob;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getHeight() {
        return height;
    }

    public void setHeight(Integer height) {
        this.height = height;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getDeviceMac() {
        return deviceMac;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public void setDeviceMac(String deviceMac) {
        this.deviceMac = deviceMac;
    }

    public Date getLastModify() {
        return lastModify;
    }

    public void setLastModify(Date lastModify) {
        this.lastModify = lastModify;
    }

}
